package com.woniu.service;

import com.woniu.entity.KillBook;
import com.woniu.util.ResponseData;

public interface SecKillService {
    /**
     * 添加秒杀商品
     * @param killBook
     * @return
     */
    ResponseData<?> addKillBook(KillBook killBook);

    /**
     * 查询所有秒杀
     */
    ResponseData<?> queryKillBook();
    ResponseData<?> queryDetail(Integer bookId);
    ResponseData<?> startKill(Integer bookId);
}
